package epam.car.rent.exceptions;

public class FileProblemsExceptions extends Exception {
	private static final long serialVersionUID = -4445180270018514717L;
	
	String error;
	
	public FileProblemsExceptions(Exception e) {
		super("File problems: " + e);
		error = "File problems:\t" + e;
		ExceptionLogger.log.warn(error);
	}
	public FileProblemsExceptions(String s, Exception e) {
		super("File problems: " + s + "\t" + e);
		error = "File problems:\t" + s + "\t" + e;
		ExceptionLogger.log.warn(error);
	}
}
